package com.loyal.loyalerp.basedata.employeechange.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.loyal.loyalerp.basedata.employeechange.model.GyPersonChange;
import com.loyal.loyalerp.basedata.employeechange.model.GyPersonChangeExample;

@Mapper
public interface GyPersonChangeMapper {
	int countByExample(GyPersonChangeExample example);

	int deleteByExample(GyPersonChangeExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(GyPersonChange record);

	int insertSelective(GyPersonChange record);

	List<GyPersonChange> selectByExample(GyPersonChangeExample example);

	GyPersonChange selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") GyPersonChange record,
			@Param("example") GyPersonChangeExample example);

	int updateByExample(@Param("record") GyPersonChange record, @Param("example") GyPersonChangeExample example);

	int updateByPrimaryKeySelective(GyPersonChange record);

	int updateByPrimaryKey(GyPersonChange record);
}